SUBDIRS=src

distclean-local:
	rm -f doc/Makefile

check-local:
	cd test; ./moulinette.pl

.PHONY: doc

doc:
	$(MAKE) -C doc

EXTRA_DIST= doc/Makefile.am \
doc/Makefile.in \
doc/Doxyfile \
doc/42sh.man \
prod_png.sh \
test/moulinette.pl \
test/create \
test/andor/test4 \
test/andor/test2 \
test/andor/test7 \
test/andor/test6 \
test/andor/test1 \
test/andor/test5 \
test/andor/test3 \
test/andor/test8 \
test/andor/test9 \
test/if/test1 \
test/if/test2 \
test/if/test3 \
test/if/test4 \
test/if/test5 \
test/comments/test1 \
test/comments/test2 \
test/complex_cmd/test1 \
test/complex_cmd/test2 \
test/commands/test \
test/commands/test1 \
test/commands/test2 \
test/commands/test3 \
test/commands/test5 \
test/commands/test6 \
test/commands/test7 \
test/commands/test8 \
test/commands/test9 \
test/commands/echo \
test/commands/optionecho \
test/while/test
